using ProtoBuf;
using System;
using System.ComponentModel;

namespace micromsg
{
	[ProtoContract(Name = "RSACert")]
	[Serializable]
	public class RSACert : IExtensible
	{
		private string _KeyN = "";

		private string _KeyE = "";

		private IExtension extensionObject;

		[ProtoMember(1, IsRequired = false, Name = "KeyN", DataFormat = DataFormat.Default), DefaultValue("")]
		public string KeyN
		{
			get
			{
				return this._KeyN;
			}
			set
			{
				this._KeyN = value;
			}
		}

		[ProtoMember(2, IsRequired = false, Name = "KeyE", DataFormat = DataFormat.Default), DefaultValue("")]
		public string KeyE
		{
			get
			{
				return this._KeyE;
			}
			set
			{
				this._KeyE = value;
			}
		}

		IExtension IExtensible.GetExtensionObject(bool createIfMissing)
		{
			return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
		}
	}
}
